<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>embedme: Settings类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">embedme
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.8 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="hierarchy.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#friends">友元</a> &#124;
<a href="class_settings-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">Settings类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>配置项  
 <a href="class_settings.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_config_8h_source.html">Config.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ab7169a6eefce79566dd07db3b1e5e967"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings.html#ab7169a6eefce79566dd07db3b1e5e967">Settings</a> ()</td></tr>
<tr class="memdesc:ab7169a6eefce79566dd07db3b1e5e967"><td class="mdescLeft">&#160;</td><td class="mdescRight">Settings构造函数  <a href="#ab7169a6eefce79566dd07db3b1e5e967">更多...</a><br /></td></tr>
<tr class="separator:ab7169a6eefce79566dd07db3b1e5e967"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab51aae0a76f1b85ce3cc1ca1852644e9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings.html#ab51aae0a76f1b85ce3cc1ca1852644e9">Settings</a> (libconfig::Setting *root)</td></tr>
<tr class="memdesc:ab51aae0a76f1b85ce3cc1ca1852644e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Settings构造函数  <a href="#ab51aae0a76f1b85ce3cc1ca1852644e9">更多...</a><br /></td></tr>
<tr class="separator:ab51aae0a76f1b85ce3cc1ca1852644e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a65be5921dfc9fddc476e5320541d89"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings.html#a4a65be5921dfc9fddc476e5320541d89">~Settings</a> ()</td></tr>
<tr class="memdesc:a4a65be5921dfc9fddc476e5320541d89"><td class="mdescLeft">&#160;</td><td class="mdescRight">Settings析构函数  <a href="#a4a65be5921dfc9fddc476e5320541d89">更多...</a><br /></td></tr>
<tr class="separator:a4a65be5921dfc9fddc476e5320541d89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcda5d421f91e8ef57beedd9e7fc109a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_settings.html">Settings</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings.html#adcda5d421f91e8ef57beedd9e7fc109a">operator[]</a> (int idx)</td></tr>
<tr class="memdesc:adcda5d421f91e8ef57beedd9e7fc109a"><td class="mdescLeft">&#160;</td><td class="mdescRight">[]运算符重载,获取数组或列表元素  <a href="#adcda5d421f91e8ef57beedd9e7fc109a">更多...</a><br /></td></tr>
<tr class="separator:adcda5d421f91e8ef57beedd9e7fc109a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac12d85a322188f9d579ae20ee5100f9c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_settings.html">Settings</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings.html#ac12d85a322188f9d579ae20ee5100f9c">operator[]</a> (string name)</td></tr>
<tr class="memdesc:ac12d85a322188f9d579ae20ee5100f9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">[]运算符重载,获取配置项  <a href="#ac12d85a322188f9d579ae20ee5100f9c">更多...</a><br /></td></tr>
<tr class="separator:ac12d85a322188f9d579ae20ee5100f9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ac598a402680fa8b55bd90bae251892"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings.html#a0ac598a402680fa8b55bd90bae251892">toInt</a> ()</td></tr>
<tr class="memdesc:a0ac598a402680fa8b55bd90bae251892"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取配置项整数值  <a href="#a0ac598a402680fa8b55bd90bae251892">更多...</a><br /></td></tr>
<tr class="separator:a0ac598a402680fa8b55bd90bae251892"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72924fc5d2ecae0adea8d75590b68cfc"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings.html#a72924fc5d2ecae0adea8d75590b68cfc">toDouble</a> ()</td></tr>
<tr class="memdesc:a72924fc5d2ecae0adea8d75590b68cfc"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取配置项浮点值  <a href="#a72924fc5d2ecae0adea8d75590b68cfc">更多...</a><br /></td></tr>
<tr class="separator:a72924fc5d2ecae0adea8d75590b68cfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b4b6229c7e3e00577f26ba37cbebab3"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings.html#a7b4b6229c7e3e00577f26ba37cbebab3">toString</a> ()</td></tr>
<tr class="memdesc:a7b4b6229c7e3e00577f26ba37cbebab3"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取配置项字符串值  <a href="#a7b4b6229c7e3e00577f26ba37cbebab3">更多...</a><br /></td></tr>
<tr class="separator:a7b4b6229c7e3e00577f26ba37cbebab3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad659fcddfe06f4ef7d6d2e1de7263e24"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_int_array.html">IntArray</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings.html#ad659fcddfe06f4ef7d6d2e1de7263e24">toIntArray</a> ()</td></tr>
<tr class="memdesc:ad659fcddfe06f4ef7d6d2e1de7263e24"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取配置项整数数组值  <a href="#ad659fcddfe06f4ef7d6d2e1de7263e24">更多...</a><br /></td></tr>
<tr class="separator:ad659fcddfe06f4ef7d6d2e1de7263e24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a972410a6905c279cd6d42e96c9adf31c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_double_array.html">DoubleArray</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings.html#a972410a6905c279cd6d42e96c9adf31c">toDoubleArray</a> ()</td></tr>
<tr class="memdesc:a972410a6905c279cd6d42e96c9adf31c"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取配置项浮点数组值  <a href="#a972410a6905c279cd6d42e96c9adf31c">更多...</a><br /></td></tr>
<tr class="separator:a972410a6905c279cd6d42e96c9adf31c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1273717fdaf4a4a18bddba61c1531d58"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_string_array.html">StringArray</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings.html#a1273717fdaf4a4a18bddba61c1531d58">toStringArray</a> ()</td></tr>
<tr class="memdesc:a1273717fdaf4a4a18bddba61c1531d58"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取配置项字符串数组值  <a href="#a1273717fdaf4a4a18bddba61c1531d58">更多...</a><br /></td></tr>
<tr class="separator:a1273717fdaf4a4a18bddba61c1531d58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af388162051f76dc8db177d966417069e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings.html#af388162051f76dc8db177d966417069e">addInt</a> (const string &amp;keyname, int value=0)</td></tr>
<tr class="memdesc:af388162051f76dc8db177d966417069e"><td class="mdescLeft">&#160;</td><td class="mdescRight">增加整数配置项  <a href="#af388162051f76dc8db177d966417069e">更多...</a><br /></td></tr>
<tr class="separator:af388162051f76dc8db177d966417069e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab913bd078cfa4732b7c8c56d3998b931"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings.html#ab913bd078cfa4732b7c8c56d3998b931">addDouble</a> (const string &amp;keyname, double value=0)</td></tr>
<tr class="memdesc:ab913bd078cfa4732b7c8c56d3998b931"><td class="mdescLeft">&#160;</td><td class="mdescRight">增加浮点数配置项  <a href="#ab913bd078cfa4732b7c8c56d3998b931">更多...</a><br /></td></tr>
<tr class="separator:ab913bd078cfa4732b7c8c56d3998b931"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e4d711948334fa991a71d388603553a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings.html#a2e4d711948334fa991a71d388603553a">addString</a> (const string &amp;keyname, const string &amp;value=&quot;&quot;)</td></tr>
<tr class="memdesc:a2e4d711948334fa991a71d388603553a"><td class="mdescLeft">&#160;</td><td class="mdescRight">增加字符串配置项  <a href="#a2e4d711948334fa991a71d388603553a">更多...</a><br /></td></tr>
<tr class="separator:a2e4d711948334fa991a71d388603553a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b82b83b085672131a627e4f632367b5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings.html#a0b82b83b085672131a627e4f632367b5">addArray</a> (const string &amp;keyname, <a class="el" href="class_array.html">Array</a> &amp;value)</td></tr>
<tr class="memdesc:a0b82b83b085672131a627e4f632367b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">增加数组配置项  <a href="#a0b82b83b085672131a627e4f632367b5">更多...</a><br /></td></tr>
<tr class="separator:a0b82b83b085672131a627e4f632367b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae71d3298ea8461f609bce3eba6366440"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings.html#ae71d3298ea8461f609bce3eba6366440">addList</a> (const string &amp;keyname)</td></tr>
<tr class="memdesc:ae71d3298ea8461f609bce3eba6366440"><td class="mdescLeft">&#160;</td><td class="mdescRight">增加列表配置项  <a href="#ae71d3298ea8461f609bce3eba6366440">更多...</a><br /></td></tr>
<tr class="separator:ae71d3298ea8461f609bce3eba6366440"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8a729159d2d773eb4033be8097f8ae4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings.html#ac8a729159d2d773eb4033be8097f8ae4">addGroup</a> (const string &amp;keyname=&quot;&quot;)</td></tr>
<tr class="memdesc:ac8a729159d2d773eb4033be8097f8ae4"><td class="mdescLeft">&#160;</td><td class="mdescRight">增加组配置项  <a href="#ac8a729159d2d773eb4033be8097f8ae4">更多...</a><br /></td></tr>
<tr class="separator:ac8a729159d2d773eb4033be8097f8ae4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3639dfa619fd6bb98c8bd370178f73bb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_settings.html">Settings</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings.html#a3639dfa619fd6bb98c8bd370178f73bb">operator=</a> (const int &amp;value)</td></tr>
<tr class="memdesc:a3639dfa619fd6bb98c8bd370178f73bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">等号运算符重载,设置整数值  <a href="#a3639dfa619fd6bb98c8bd370178f73bb">更多...</a><br /></td></tr>
<tr class="separator:a3639dfa619fd6bb98c8bd370178f73bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6eaf392907924977b1b1c7d656a4e03"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_settings.html">Settings</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings.html#af6eaf392907924977b1b1c7d656a4e03">operator=</a> (const double &amp;value)</td></tr>
<tr class="memdesc:af6eaf392907924977b1b1c7d656a4e03"><td class="mdescLeft">&#160;</td><td class="mdescRight">等号运算符重载,设置浮点数值  <a href="#af6eaf392907924977b1b1c7d656a4e03">更多...</a><br /></td></tr>
<tr class="separator:af6eaf392907924977b1b1c7d656a4e03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f1f2aa5beb8a8698027ccf64121f0b7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_settings.html">Settings</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings.html#a6f1f2aa5beb8a8698027ccf64121f0b7">operator=</a> (const string &amp;value)</td></tr>
<tr class="memdesc:a6f1f2aa5beb8a8698027ccf64121f0b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">等号运算符重载,设置字符串值  <a href="#a6f1f2aa5beb8a8698027ccf64121f0b7">更多...</a><br /></td></tr>
<tr class="separator:a6f1f2aa5beb8a8698027ccf64121f0b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f21de5973631f531cdbdf2bf7bb2f33"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_settings.html">Settings</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings.html#a5f21de5973631f531cdbdf2bf7bb2f33">operator=</a> (<a class="el" href="class_int_array.html">IntArray</a> &amp;value)</td></tr>
<tr class="memdesc:a5f21de5973631f531cdbdf2bf7bb2f33"><td class="mdescLeft">&#160;</td><td class="mdescRight">等号运算符重载,设置整型数组值  <a href="#a5f21de5973631f531cdbdf2bf7bb2f33">更多...</a><br /></td></tr>
<tr class="separator:a5f21de5973631f531cdbdf2bf7bb2f33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba715ac360d3e9de8e2f72ce64ee7469"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_settings.html">Settings</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings.html#aba715ac360d3e9de8e2f72ce64ee7469">operator=</a> (<a class="el" href="class_double_array.html">DoubleArray</a> &amp;value)</td></tr>
<tr class="memdesc:aba715ac360d3e9de8e2f72ce64ee7469"><td class="mdescLeft">&#160;</td><td class="mdescRight">等号运算符重载,设置浮点数组值  <a href="#aba715ac360d3e9de8e2f72ce64ee7469">更多...</a><br /></td></tr>
<tr class="separator:aba715ac360d3e9de8e2f72ce64ee7469"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
友元</h2></td></tr>
<tr class="memitem:ac3da7e21a05bf8852638db7e4dd1b81a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac3da7e21a05bf8852638db7e4dd1b81a"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>Config</b></td></tr>
<tr class="separator:ac3da7e21a05bf8852638db7e4dd1b81a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>配置项 </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a class="anchor" id="ab7169a6eefce79566dd07db3b1e5e967"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Settings::Settings </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Settings构造函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">none</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>none </dd></dl>

</div>
</div>
<a class="anchor" id="ab51aae0a76f1b85ce3cc1ca1852644e9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Settings::Settings </td>
          <td>(</td>
          <td class="paramtype">libconfig::Setting *&#160;</td>
          <td class="paramname"><em>root</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Settings构造函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">root</td><td>配置根结点 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>none </dd></dl>

</div>
</div>
<a class="anchor" id="a4a65be5921dfc9fddc476e5320541d89"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Settings::~Settings </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Settings析构函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">none</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>none </dd></dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a class="anchor" id="a0b82b83b085672131a627e4f632367b5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Settings::addArray </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>keyword</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_array.html">Array</a> &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>增加数组配置项 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">keyword</td><td>配置名称 </td></tr>
    <tr><td class="paramname">value</td><td>配置值 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功返回true,失败返回false </dd></dl>

</div>
</div>
<a class="anchor" id="ab913bd078cfa4732b7c8c56d3998b931"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Settings::addDouble </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>keyword</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>value</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>增加浮点数配置项 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">keyword</td><td>配置名称 </td></tr>
    <tr><td class="paramname">value</td><td>配置值 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功返回true,失败返回false </dd></dl>

</div>
</div>
<a class="anchor" id="ac8a729159d2d773eb4033be8097f8ae4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Settings::addGroup </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>keyword</em> = <code>&quot;&quot;</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>增加组配置项 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">keyword</td><td>关键字 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功返回true,失败返回false </dd></dl>
<dl class="section note"><dt>注解</dt><dd>当keyword为空时,给列表增加无名组.非空,增加普通有名组. </dd></dl>

</div>
</div>
<a class="anchor" id="af388162051f76dc8db177d966417069e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Settings::addInt </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>keyword</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>value</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>增加整数配置项 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">keyword</td><td>配置名称 </td></tr>
    <tr><td class="paramname">value</td><td>配置值 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功返回true,失败返回false </dd></dl>

</div>
</div>
<a class="anchor" id="ae71d3298ea8461f609bce3eba6366440"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Settings::addList </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>keyword</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>增加列表配置项 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">keyword</td><td>配置名称 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功返回true,失败返回false </dd></dl>

</div>
</div>
<a class="anchor" id="a2e4d711948334fa991a71d388603553a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Settings::addString </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>keyword</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>value</em> = <code>&quot;&quot;</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>增加字符串配置项 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">keyword</td><td>配置名称 </td></tr>
    <tr><td class="paramname">value</td><td>配置值 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功返回true,失败返回false </dd></dl>

</div>
</div>
<a class="anchor" id="a3639dfa619fd6bb98c8bd370178f73bb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_settings.html">Settings</a> &amp; Settings::operator= </td>
          <td>(</td>
          <td class="paramtype">const int &amp;&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>等号运算符重载,设置整数值 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>整数值 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回当前Settings引用 </dd></dl>

</div>
</div>
<a class="anchor" id="af6eaf392907924977b1b1c7d656a4e03"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_settings.html">Settings</a> &amp; Settings::operator= </td>
          <td>(</td>
          <td class="paramtype">const double &amp;&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>等号运算符重载,设置浮点数值 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>浮点数值 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回当前Settings引用 </dd></dl>

</div>
</div>
<a class="anchor" id="a6f1f2aa5beb8a8698027ccf64121f0b7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_settings.html">Settings</a> &amp; Settings::operator= </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>等号运算符重载,设置字符串值 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>字符串值 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回当前Settings引用 </dd></dl>

</div>
</div>
<a class="anchor" id="a5f21de5973631f531cdbdf2bf7bb2f33"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_settings.html">Settings</a> &amp; Settings::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_int_array.html">IntArray</a> &amp;&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>等号运算符重载,设置整型数组值 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>整型数组值 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回当前Settings引用 </dd></dl>

</div>
</div>
<a class="anchor" id="aba715ac360d3e9de8e2f72ce64ee7469"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_settings.html">Settings</a> &amp; Settings::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_double_array.html">DoubleArray</a> &amp;&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>等号运算符重载,设置浮点数组值 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>浮点数组值 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回当前Settings引用 </dd></dl>

</div>
</div>
<a class="anchor" id="adcda5d421f91e8ef57beedd9e7fc109a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_settings.html">Settings</a> Settings::operator[] </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>idx</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>[]运算符重载,获取数组或列表元素 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">idx</td><td>索引 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回索引为idx的数组或列表元素 </dd></dl>

</div>
</div>
<a class="anchor" id="ac12d85a322188f9d579ae20ee5100f9c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_settings.html">Settings</a> Settings::operator[] </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>keyword</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>[]运算符重载,获取配置项 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">keyword</td><td>配置项名称关键字 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回配置项 </dd></dl>

</div>
</div>
<a class="anchor" id="a72924fc5d2ecae0adea8d75590b68cfc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Settings::toDouble </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取配置项浮点值 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">none</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回配置项浮点值 </dd></dl>

</div>
</div>
<a class="anchor" id="a972410a6905c279cd6d42e96c9adf31c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_double_array.html">DoubleArray</a> Settings::toDoubleArray </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取配置项浮点数组值 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">none</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回配置项浮点数组值 </dd></dl>

</div>
</div>
<a class="anchor" id="a0ac598a402680fa8b55bd90bae251892"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Settings::toInt </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取配置项整数值 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">none</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回配置项整数值 </dd></dl>

</div>
</div>
<a class="anchor" id="ad659fcddfe06f4ef7d6d2e1de7263e24"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_int_array.html">IntArray</a> Settings::toIntArray </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取配置项整数数组值 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">none</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回配置项整数数组值 </dd></dl>

</div>
</div>
<a class="anchor" id="a7b4b6229c7e3e00577f26ba37cbebab3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string Settings::toString </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取配置项字符串值 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">none</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回配置项字符串值 </dd></dl>

</div>
</div>
<a class="anchor" id="a1273717fdaf4a4a18bddba61c1531d58"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_string_array.html">StringArray</a> Settings::toStringArray </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取配置项字符串数组值 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">none</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回配置项字符串数组值 </dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>libemb/inc/<a class="el" href="_config_8h_source.html">Config.h</a></li>
<li>libemb/src/Config.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2016年 七月 7日 星期四 19:49:39 , 为 embedme使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>
